}
synchronized(this) {
int oldCacheSize = attrCache.size();
int newCacheSize = updateAttrCache();
if (oldCacheSize < newCacheSize) {
updateInfoCache();
}
jmxCacheTS = Time.now();
}
synchronized(this) {
updateAttrCache();
if (getAllMetrics) {
updateInfoCache();
}